import React, {
  Component
} from "react"

import {
  StyleSheet,
  View
} from 'react-native'

import {
  connect
} from "react-redux"

import * as actions from "./action"
import Display from "../display"
import Weather from '../weather'

class Demo extends Component {
  render() {
    return (
      <View style={style.app}>
        <Display/>
        <Weather/>
      </View>
    )
  }
}

const style = StyleSheet.create({
  app: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center'
  }
});

const mapStateToProps = () => {
  return {
  }
};

export default connect(mapStateToProps, actions)(Demo)
